﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ZavrsniRad
{
    public partial class frmResearch : Form
    {
        public frmResearch()
        {
            InitializeComponent();
        }

        public frmResearch(DAL d)
        {
            InitializeComponent();
            _dal = d;
        }

        private DAL _dal;


        private void frmResearch_Load(object sender, EventArgs e)
        {
            bsResearch.DataSource = _dal.OpenSession().CreateCriteria(typeof (Research)).List();
        }
    }
}
